<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{listarCondicionMA.page1}" id="page1">
            <ui:html binding="#{listarCondicionMA.html1}" id="html1">
                <ui:head binding="#{listarCondicionMA.head1}" id="head1">
                    <ui:link binding="#{listarCondicionMA.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{listarCondicionMA.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{listarCondicionMA.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:label binding="#{listarCondicionMA.label1}" id="label1" style="left: 96px; top: 216px; position: absolute" text="Producto:"/>
                        <ui:label binding="#{listarCondicionMA.label2}" id="label2" style="left: 96px; top: 264px; position: absolute" text="Sublínea:"/>
                        <ui:label binding="#{listarCondicionMA.label3}" id="label3" style="left: 96px; top: 312px; position: absolute" text="Tipo Solicitud:"/>
                        <ui:label binding="#{listarCondicionMA.label4}" id="label4" style="left: 96px; top: 360px; position: absolute" text="Modelo:"/>
                        <ui:label binding="#{listarCondicionMA.label5}" id="label5" style="left: 96px; top: 408px; position: absolute" text="Regla"/>
                        <ui:table augmentTitle="false" binding="#{listarCondicionMA.table1}" id="table1" lite="true" paginateButton="true"
                            paginationControls="true" style="left: 96px; top: 504px; position: absolute; width: 552px" title="Tabla" width="552">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{listarCondicionMA.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                sourceData="#{listarCondicionMA.sct0005DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{listarCondicionMA.tableColumn1}" headerText="Variable" id="tableColumn1" sort="NOMBRE">
                                    <ui:staticText binding="#{listarCondicionMA.staticText2}" id="staticText2" text="#{currentRow.value['NOMBRE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listarCondicionMA.tableColumn2}" headerText="Condicional" id="tableColumn2" sort="CDGOOPRDR">
                                    <ui:staticText binding="#{listarCondicionMA.staticText3}" id="staticText3" text="#{listarCondicionMA.operador}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{listarCondicionMA.tableColumn3}" headerText="Valor de variable" id="tableColumn3" sort="VLRVRBLE">
                                    <ui:staticText binding="#{listarCondicionMA.staticText4}" id="staticText4" text="#{listarCondicionMA.valorVariable}"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:staticText binding="#{listarCondicionMA.staticText5}" id="staticText5" style="left: 192px; top: 216px; position: absolute" text="#{listarCondicionMA.sct0004DataProvider.value['SCT0004.DSCRPCION']}"/>
                        <ui:staticText binding="#{listarCondicionMA.staticText6}" id="staticText6" style="left: 192px; top: 264px; position: absolute" text="#{listarCondicionMA.sct0019DataProvider.value['SCT0019.DSCRPCIONSBLNEA']}"/>
                        <ui:staticText binding="#{listarCondicionMA.staticText7}" id="staticText7" style="left: 192px; top: 312px; position: absolute" text="#{listarCondicionMA.sct0021DataProvider.value['SCT0021.DSCRPCIONTPOSLCTUD']}"/>
                        <ui:staticText binding="#{listarCondicionMA.staticText8}" id="staticText8" style="left: 192px; top: 360px; position: absolute" text="#{listarCondicionMA.sct0002DataProvider.value['SCT0002.DSCRPCION']}"/>
                        <ui:staticText binding="#{listarCondicionMA.staticText9}" id="staticText9" style="left: 192px; top: 408px; position: absolute" text="#{listarCondicionMA.sct0003DataProvider.value['SCT0003.DSCRPCION']}"/>
                        <ui:button action="#{listarCondicionMA.back_action}" binding="#{listarCondicionMA.back}" id="back" mini="true" primary="true"
                            style="left: 95px; top: 456px; position: absolute; width: 95px" text="&lt; Regresar"/>
                        <ui:staticText binding="#{listarCondicionMA.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 240px; top: 144px; position: absolute" text="Listado de Condiciones"/>
                        <ui:button action="#{listarCondicionMA.button1_action}" binding="#{listarCondicionMA.button1}" id="button1" mini="true" primary="true"
                            style="left: 47px; top: 120px; position: absolute; width: 72px" text="Cerrar"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
